package felix.actor.core;

import lombok.Getter;

public abstract class AbstractTActor implements TActor {

    @Getter
    protected TActorCtx ctx;

    @Override
    public void init(TActorCtx ctx) throws TActorException {
        this.ctx = ctx;
    }

    @Override
    public TActorRef getActorRef() {
        return ctx;
    }
}
